<?
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");
//引入系统设置
include_once("../../../common/model/setting.php");

//查询任务板块管理员
$setting = select_one_line_all_items($table_Prefix."task_setting","nid = '1'");

$manager_user_id = explode(',',$setting['manager_user_id']);

// 权限验证 管理员查看所有人的任务 普通用户只查看自己的任务
if(in_array($_SESSION['nid'],$manager_user_id)){
    $auth = true;
}else{
    $auth = false;
}

?>